shuzi=7
while True:
    s = input("请猜一个数字")
    if int(s)<int(shuzi):
        print("猜小了")
    elif int(s)>int(shuzi):
        print("猜大了")
    else:
        print("猜对了")
        break